#pragma once


// CMyLogo

class CStateButton : public CButton
{
	DECLARE_DYNAMIC(CStateButton)

public:
	CStateButton();
	virtual ~CStateButton();
public:
	CBitmap m_bmpState;
	BITMAP bmp2;
	BOOL m_bIsMouseOn;
	CRect m_rcmouse;
	HBITMAP m_hBitmap;
protected:
	DECLARE_MESSAGE_MAP()
public:
	virtual void DrawItem(LPDRAWITEMSTRUCT /*lpDrawItemStruct*/);
	
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnMouseLeave();
	
};


